package com.wcy.mapper;

import com.wcy.bean.Shanghu;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ShanghuMapper {

    List<Shanghu> selectList(/*@Param("name")String name,@Param("boss")String boss*/ Shanghu shanghu);

    int deleteById(@Param("id")Integer id);

    int insertSh(Shanghu shanghu);

    int deleteByIds(@Param("ids")Integer[] ids);

    Shanghu getShById(@Param("id")Integer id);

    int UpdateById(Shanghu shanghu);
}
